feat(config): support custom workspaceMount from devcontainer.json#170
Conversation
Add unit tests for getWorkspace() covering custom mount, default mount, default mount with workspaceFolder, and empty/unset workspaceMount. Add E2E test validating custom workspace mount with testdata. The workspaceMount field was already wired through config parsing and container creation — this commit adds test coverage for the feature.
✅ Deploy Preview for devsydev canceled.
|
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 25 minutes and 3 seconds.Comment |
Summary
Add test coverage for the custom
workspaceMountproperty in devcontainer.json. The field was already parsed from config and wired through container creation (getWorkspace()inrun.gochecksconf.WorkspaceMountfirst, andconfig.goupdates the substitution context). This PR adds 4 unit tests forgetWorkspace()(custom mount, default mount, default with workspaceFolder, empty/unset) and 1 E2E test validating that a custom workspace mount target appears in the container's mount list.